package com.sky.loveshop.mapper;

import com.sky.loveshop.entity.StockChangeHistory;
import com.sky.loveshop.entity.qo.StockChangeHistoryQO;
import com.sky.loveshop.entity.vo.StockChangeHistoryVO;
import com.sky.loveshop.utils.MyMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockChangeHistoryMapper extends MyMapper<StockChangeHistory> {

    List<StockChangeHistoryVO> searchAll(StockChangeHistoryQO qo);

    StockChangeHistory getStockChangeHistoryById(@Param("id") Integer id);

    List<StockChangeHistory> getStockChangeHistoryListByIds(@Param("ids") List<Integer> ids);

    Integer insertOne(StockChangeHistory stockChangeHistory);

}